#ifndef INDEXBUFFER_H

#define INDEXBUFFER_H

#include "Buffer.h"
#include "Include.h"
class IndexBuffer :public Buffer
{
public:
	IndexBuffer(ID3D11Device * device, ID3D11DeviceContext* context);
	~IndexBuffer();

	bool init(const void * const data, const int nr_of_indices, const int size);

	ID3D11Buffer * getBuffer();
	
private:

	ID3D11Buffer * buffer;
	ID3D11Device * device;
};

#endif